Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

fix(docs): update#7

Merged
FeodorFitsner merged 8 commits intomainfrom
dev
Jul 27, 2025
Merged

fix(docs): update#7
FeodorFitsner merged 8 commits intomainfrom
dev

Conversation

@ndonkoHenri
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the flet-datatable2 library to improve API consistency and maintainability. The changes primarily focus on modernizing the DataColumn2 constructor to use keyword-only arguments and updating all usages to explicitly specify the label parameter.

  • Convert DataColumn2 to use keyword-only arguments for better API clarity
  • Update all DataColumn2 instantiations to use explicit label parameter
  • Improve project configuration with better dependency management and documentation tooling

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/flet_datatable2/datacolumn2.py Added kw_only=True to DataColumn2 control decorator
tests/sorting_test.py Updated DataColumn2 calls to use label= parameter and fixed event type/callback name
tests/basic_test.py Updated DataColumn2 calls to use explicit label= parameter
examples/datatable2_example/src/example-1.py Updated DataColumn2 calls to use explicit label= parameter
examples/datatable2_example/src/example-2.py Updated DataColumn2 calls to use explicit label= parameter
src/flet_datatable2/init.py Added all list for better module exports
pyproject.toml Reorganized dependency groups and updated versions
mkdocs.yml Updated documentation configuration and plugin settings
.pre-commit-config.yaml Added pre-commit configuration file
.github/workflows/docs.yml Updated GitHub Actions workflow for documentation
src/flet_datatable2/datatable2.py Reformatted field definitions for better readability

@FeodorFitsner FeodorFitsner merged commit d707056 into main Jul 27, 2025
4 checks passed
@FeodorFitsner FeodorFitsner deleted the dev branch July 27, 2025 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants